package com.hyacinth.lotterysystem.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(defaultValue = "用户注册实体")
public class UserRegisterReq {

    @NotBlank(message = "姓名不能为空")
    private String userName;

    @NotBlank(message = "邮箱不能为空")
    private String email;

    @NotBlank(message = "手机号不能为空")
    private String phoneNumber;

    @NotBlank(message = "用户身份不能为空")
    private String identity;

    private String password;
}
